package com.lu.widgets.component.ime;

import java.util.ArrayList;

import com.lu.widgets.R;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.Button;

public class QwertyIMEWithoutMask extends IMEWithoutMask {

	public QwertyIMEWithoutMask(Context context, AttributeSet attrs,
			int defStyle) {
		super(context, attrs, defStyle, R.layout.qwerty_ime_without_mask);
	}

	public QwertyIMEWithoutMask(Context context, AttributeSet attrs) {
		this(context, attrs, 0);
	}

	public QwertyIMEWithoutMask(Context context) {
		this(context, null, 0);
	}

	protected void findAllView() {
		buttonChange = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEChange);
		buttonDelete = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEDelete);
		buttonChars = new ArrayList<Button>();
		Button buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEA);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEB);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEC);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMED);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEE);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEF);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEG);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEH);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEI);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEJ);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEK);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEL);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEM);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEN);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEO);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEP);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEQ);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMER);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMES);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMET);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEU);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEV);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEW);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEX);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEY);
		buttonChars.add(buttonChar);
		buttonChar = (Button) findViewById(R.id.buttonServeTableMainQWERTYIMEZ);
		buttonChars.add(buttonChar);
	}
}
